/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cardamy.app;

import org.cardamy.lib.deck.SpanishDeckBuilder;
import org.cardamy.core.deck.DeckBuilder;
import org.cardamy.core.deck.DeckFactory;
import org.cardamy.core.deck.Deck;

/**
 *
 * @author Santiago
 */
public class CardsFW {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
//        CardAttributeHolder attrs = new CardAttributeHolder();
//        attrs.addAttr(new FrenchSuitCardAttribute("Suit", FrenchSuitCardAttribute.Suit.DIAMONDS))
//                .addAttr(new CardAttribute("Rank", "1"))
//                .addAttr(new CardAttribute("Enumeracion", "A"));
//        
//        Card card = new Card(attrs);
//        
//        System.out.println(card.getDescription());
        
        
        
        //DeckBuilder builder = new FrenchDeckBuilder();
        DeckBuilder builder = new SpanishDeckBuilder(true);
        Deck deck = DeckFactory.getFromBuilder(builder);
        deck.shuffle();

        System.out.println(deck);        
        
    }
}
